package com.example.warehouse.sys.service;

import com.example.warehouse.common.pojo.vo.PageData;
import com.example.warehouse.sys.pojo.vo.SysLogInFoListVO;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author 欧胤
 * @version 1.0
 * @description: TODO
 * @date 2023/7/15 2:21
 */
@Transactional
public interface ISysLogInFoService {
    PageData<SysLogInFoListVO> list(Integer pageNum);

    PageData<SysLogInFoListVO> list(Integer pageNum, Integer pageSize);

    /**
     * 删除登录日志，通过id
     *
     * @param id id
     */
    void deleteById(Long id);
}
